package cn.lysj.framework.store.domain;

import cn.lysj.framework.base.BaseEntity;
import cn.lysj.framework.common.validate.annotation.NotBlank;
import cn.lysj.framework.common.validate.annotation.Unique;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;

/**
 * @author drj
 * @description 餐桌
 * @create 2018-11-02 10:15:54
 **/
@Data
@Entity
@EqualsAndHashCode(callSuper = true)
public class EatTable extends BaseEntity {

    @NotBlank(message = "请填写餐桌名称")
    private String name;
    @NotBlank(message = "请填写餐桌编号")
    private Integer serialNumber;// 餐桌编号
    @Column(columnDefinition = "TEXT")
    private String qrCode;//二维码

    private String storeId;//商家Id

}